<template>
  <div id="App">
    <!-- <Home/> -->
    <!-- 一级路由出口 -->
    <!-- <van-button type="warning">警告按钮</van-button> -->
    <!-- 组件缓存：防止组件切换导致的频繁请求，消耗性能和流量，影响用户体验 -->
    <!-- exclude不缓存的=['name后面的值'] -->
    <!-- include需要缓存的 -->
    <keep-alive :exclude="['SearchResult']">
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
// import Home from '@/views/layout/home'
export default {
  name: 'App',
  components: {
    // Home
  }

}
</script>

<style>

</style>
